/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Principal;

import ControladoresJPA.UsuarioJpaController;
import ControladoresJPA.exceptions.NonexistentEntityException;
import javax.persistence.Persistence;

/**
 * 
 *
 * @author lauciano
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws NonexistentEntityException {
        // TODO code application logic here
        UsuarioJpaController usuarioJpa = new UsuarioJpaController(null, Persistence.createEntityManagerFactory("JulianoPU"));
        usuarioJpa.destroy(Long.valueOf(1));
        usuarioJpa.destroy(Long.valueOf(2));
    }
}
